package cn.eng.order.service;

import cn.eng.basic.util.AjaxResult;
import cn.eng.order.domain.OrderProduct;
import cn.eng.basic.service.IBaseService;
import cn.eng.pet.dto.OrderDto;
import cn.eng.product.domain.Product;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author BoBo
 * @since 2022-11-19
 */
public interface IOrderProductService extends IBaseService<OrderProduct> {
    //
    void cancel(Long id);

    void confirm(OrderDto orderDto);

    AjaxResult adopt(Product product, HttpServletRequest request);
}
